  syscache={};
  syscache.manages ={
  	ajaxBaseUrl:"system/syscache/",
  	sDelCache:function(obj){
  		var _txt1="";
  		if(obj){
  			_txt1 = $(obj).parents("tr").find("td[field=name]").text();      		  		
  		}
  		var _ajaxurl = syscache.manages.ajaxBaseUrl + "data.jsp?type=setdata&datype=delete"   		
  		$.ajax({
			url: _ajaxurl,
			type: "POST",
			data:{name:_txt1},
			success: function(msg){
				if(msg=="200") {
				var _msg = "删除成功";				
					$.messager.show({
						title:"消息",		
						msg:_msg,
						timeout:2000,		
						showType:'slide'		
					});
				$('#syscache-gd1').datagrid("reload");
				}
			}
		})
  	},
  	sReloadCache:function(){
  		$('#syscache-gd1').datagrid("reload");
  	},
  	sSearchCache:function(obj){
  	 	var _keyword="";
  	 	if(obj){
  	 		_keyword=$(obj).prev("input[name=syscache-keyword]").val();
  	 	}
  	 	var _ajaxurl = syscache.manages.ajaxBaseUrl + "data.jsp?type=getdata&datype=list"   		
  		$.ajax({
			url: _ajaxurl,
			type: "POST",
			data:{keyword:_keyword},
			success: function(data){
				if(data=="") {
				var _msg = "没有查询到数据";				
					$.messager.show({
						title:"消息",		
						msg:_msg,
						timeout:2000,		
						showType:'slide'		
					});
				}else{
					$('#syscache-gd1').datagrid("loadData",$.parseJSON(data))
				}
			}
		})
  	 	
  	 	
  	}
  };